<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>

<body>
<div class="row">
    <div class="row">
        <div class="col-sm-12 custem_table">
            <input id="tableData" name="table_data" type="hidden"/>
            <button type="button" id="btn1" class="btn btn-white btn-sm add_row" onclick="addTableRow()"><i class="fa fa-plus"> 增加行</i></button>
            <button type="button" class="btn btn-white btn-sm del_row" onclick="removeTableRow(this)" ><i class="fa fa-minus"> 删除行</i></button>
            <fieldset class="fieldset" id="tableFieldset" >
                <table class="table_data" id="table_data" bordercolor="#e5e6e7" border="1" cellpadding="2" width="100%">
                    <thead>
                    <tr>
                        <td bgcolor="#eff3f8" align="center" name="Num" width="4%"><input type="checkbox" class="common_class" id="check_all_row" onclick="checkAllRow(this)"/></td>
                        <td bgcolor="#eff3f8" align="center"><div class="table_header" contenteditable="true">部门</div></td>
                        <td bgcolor="#eff3f8" align="center"><div class="table_header" contenteditable="true">领导人</div></td>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td align="center"><input type="checkbox" class="check_row common_class" onclick="checkRow(this)">
<!--                        <td align="center"><div contenteditable>张三</div></td>-->
                        <td align="center"><div contenteditable>张三</div></td>
                        <td align="center"><div contenteditable>15</div></td>
                    </tr>

                    <tr>
                        <td colspan="2">
                            <table class="table_data" id="table_data1" bordercolor="#e5e6e7" border="1" cellpadding="2" width="100%">
                                <tbody>
                                <tr>
<!--                                    <td align="center"><input type="checkbox" class="check_row common_class" onclick="checkRow(this)">-->
                                        <!--                        <td align="center"><div contenteditable>张三</div></td>-->
                                    <td align="center"><div contenteditable>开发</div></td>
                                    <td align="center"><div contenteditable>李四</div></td>
                                </tr>
                                </tbody>
                            </table>
                    </tr>
                    </tbody>
                </table>
            </fieldset>
        </div>
    </div>
</div>


</body>
</html>